﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.iRods.Common;

namespace Renci.iRods.Packets
{
    //#define RError_PI "int count; struct *RErrMsg_PI[count];"
    [Packet("RError_PI")]
    internal class ErrorPacket : Packet
    {
        [PacketField("count", 0, DataTypes.Int)]
        public int Count { get; set; }

        [PacketField("RErrMsg_PI", 1, DataTypes.Packet)]
        public ErrorMessagePacket[] Messages { get; set; }
    }
}
